#ifndef BOSSPLAY_H
#define BOSSPLAY_H

#include <QMainWindow>
#include "basic.h"
#include <QPainter>
#include<QMenuBar>
#include<QPainter>
#include<pushbutton_01.h>
#include<QTimer>
#include<QLabel>
#include<QDebug>
#include<QPropertyAnimation>
#include"QPalette"
#include<time.h>
#include"mycoin.h"
#include<QMessageBox>
#include<earnmoney.h>

class BossPlay : public QMainWindow
{
    Q_OBJECT
public:
    explicit BossPlay(QWidget *parent = nullptr);
    BossPlay * bplay = NULL;


    int gameArray[19][19]; //二维数组数据
    int level = 21; // 关卡等级
    int current = 0; //作弊
    int pace = 0; //步数
    int money = 100;
    int i1=0,i2=0,i3=0,i4=0,i5=0;
    //是否胜利
    bool isWin = true;



    //所有硬币二维数组
    MyCoin * coinBtn[19][19];

    //创建赚钱窗口
    EarnMoney * earn=new EarnMoney;


    //绘图事件
    void paintEvent(QPaintEvent *);


signals:
    void BossSceneBack();

public slots:

};

#endif // BOSSPLAY_H
